package com.ss.android.newmedia.e;

import android.content.DialogInterface;

import com.ss.android.common.lib.MobClickCombiner;
import com.ss.android.model.AbsArticle;

final class p implements DialogInterface.OnClickListener {
    private final ShareHelper c;
    private final AbsArticle a;
    private final long b;

    p(ShareHelper arg2, AbsArticle arg3, long arg4) {
        this.c = arg2;
        this.a = arg3;
        this.b = arg4;

    }

    public final void onClick(DialogInterface arg5, int arg6) {
        if(!this.c.mBaseAppData.mShareWhenFavor) {
            this.c.mBaseAppData.c(this.c.mContext, true);
        }

        MobClickCombiner.onEvent(this.c.mContext, "xiangping", "favorite_forward_alert_on");
        this.c.b(this.a, this.b);
    }
}

